package br.edu.ufcg.dsc.ia1.jt;

import org.neuroph.core.NeuralNetwork;
import org.neuroph.nnet.MultiLayerPerceptron;

import br.edu.ufcg.dsc.ia1.jt.core.Train;

public class MLPMain {
	
	/* Usando Multi Layer Perceptron para ler */
	public static void main(String[] args) {
		NeuralNetwork mlp = new MultiLayerPerceptron(400, 2, 2);
		Train train = new Train(mlp);
		System.out.println("iamgens rasterizadas");
		train.train(args[0]);
		System.out.println("Rede treinada");
		mlp.save(args[1]);
		System.out.println("rede salva");
	}

}
